/******************************************************************************
 * @File name   :      ProductUtils.java
 *
 * @Author      :      wujianxi
 *
 * @Date        :      Nov 28, 2011
 *
 * @Copyright Notice: 
 * Copyright (c) 2014 DMS, Inc. All  Rights Reserved.
 * This software is published under the terms of the DMS Software
 * License version 1.0, a copy of which has been included with this
 * distribution in the LICENSE.txt file.
 * 
 * 
 * ----------------------------------------------------------------------------
 * Date                   Who         Version        Comments
 * Nov 28, 2011 3:12:28 PM        wujianxi     1.0            Initial Version
 *****************************************************************************/
package com.cap.bts.framework.ge.util;

import com.cap.bts.framework.common.constant.BrandConstants;
import com.cap.bts.framework.common.util.CodeTextUtils;

/**
 *
 */
public final class ProductUtils {
    private ProductUtils(){
    }
    
    /**
     * 
     * @Date        :      Nov 28, 2011
     * @param brandId
     * @return
     */
    public static String getBrandOptions(long brandId){
        String optionCode = "common.brand";
        if(BrandConstants.BRAND1 == brandId){
            optionCode = "common.brandBui";
        }else if(BrandConstants.BRAND2 == brandId){
            optionCode = "common.brandChe";
        }else if(BrandConstants.BRAND3 == brandId){
            optionCode = "common.brandCad";
        }
        return CodeTextUtils.getOptions(optionCode, String.valueOf(brandId));
    }
}
